using System.Runtime.Serialization;
using System.ServiceModel;
using Whisper.CommonTypes.RequestResponse;
using Whisper.RequestResponseMessages;
using Whisper.Utils;

namespace Whisper.Interfaces
{
    [ServiceContract]
    [ServiceKnownType("GetTypes", typeof(KnownTypesProvider))]
    public interface IConversationService
    {
        [OperationContract]
        GetListOfConversationsResponse GetListOfConversations(GetListOfConversationsRequest request);

        [OperationContract]
        CreateConversationResponse CreateConversation(CreateConversationRequest request);
    }
}